// 同一管理用户相关的接口
import request from '@/utils/request'
import type { loginForm, loginResponseData, userReponseData } from './type'

//登录接口
export const reqLogin = (data: loginForm) => request.post<loginResponseData>('/user/login', data)

//获取用户信息
export const reqUserInfo = () => request.get<userReponseData>('/user/info')

//退出登录
